package com.probox.common.entity.domain.wechat.AppletCategory;

import com.alibaba.fastjson.JSONArray;
import lombok.Data;

import java.io.Serializable;

@Data
public class CanSetCategoryInfo implements Serializable {
    //类目id
    private Long id;
    //类目名称
    private String name;
    //等级
    private Long level;
    //    //类目父级 ID
    private Long father;
    //子级类目信息
    private String children;
//    private List<CanSetCategoryInfo> children = new ArrayList<CanSetCategoryInfo>();
//    private JSONArray children;
//    //是否为敏感类目（1 为敏感类目，需要提供相应资质审核；0 为非敏感类目，无需审核）
//    private Long sensitive_type;
//    //sensitive_type 为 1 的类目需要提供的资质证明
//    private String qualify;


    public CanSetCategoryInfo() {
    }

    public CanSetCategoryInfo(Long id,Long level,String name,Long father, String children) {
        this.id = id;
        this.name = name;
        this.level = level;
        this.father = father;
        this.children = children;
    }
}
